package com.xxx.entity;

import java.util.Date;

public class NewsEntity {
    private int id;
    private String createTime;
    private String headline;
    private String content;
    private int classId;
    private int showHome;
    private String kind;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getHeadline() {
		return headline;
	}
	public void setHeadline(String headline) {
		this.headline = headline;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public int getShowHome() {
		return showHome;
	}
	public void setShowHome(int showHome) {
		this.showHome = showHome;
	}
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	
	public String getKind() {
		return kind;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public NewsEntity(int id, String createTime, String headline, String content, int classId, int showHome,
			String kind) {
		super();
		this.id = id;
		this.createTime = createTime;
		this.headline = headline;
		this.content = content;
		this.classId = classId;
		this.showHome = showHome;
		this.kind = kind;
	}
	public NewsEntity(int id, String createTime, String headline, String content, int classId, int showHome) {
		super();
		this.id = id;
		this.createTime = createTime;
		this.headline = headline;
		this.content = content;
		this.classId = classId;
		this.showHome = showHome;
	}
	public NewsEntity(int id, String createTime, String headline, String content, int classId) {
		super();
		this.id = id;
		this.createTime = createTime;
		this.headline = headline;
		this.content = content;
		this.classId = classId;
	}
	@Override
	public String toString() {
		return "NewsEntity [id=" + id + ", createTime=" + createTime + ", headline=" + headline + ", content=" + content
				+ ", showHome=" + showHome + ", classId=" + classId + "]";
	}
	
}
